// 给的稿件是1280px 媒体查询设置1280以上都设置1280宽
@media screen and (min-width: 1280px) {
    .container {
        width: 1280px;
    }
}
// 当屏幕检测为手机平板
@media screen and (max-width: 991px) {
    // nav
    nav {
        a {
            width: 20%;
            float: left;    
        }
    }

}
// 当屏幕检测为手机
@media screen and (max-width: 767px) {
    // 新闻栏
    .news {
        li {
            width: 50%!important;
            &:nth-of-type(1) {
                width: 100%!important;
            }
        }
    }
}
// 初始化
li {
    list-style: none;
}
p {
    margin: 0;
}
// logo导航栏
.col-md-2 {
    padding-left: 0;
    > a {
        display: block;
        background-color: #429ad9;
        img {
            display: block;
            margin: 0 auto;
            max-width: 100%;
        }
    }
    > span {
        display: block;
        width: 100%;
        height: 50px;
        line-height: 50px;
        text-align: center;
        background-color: #429ad9;
        font-size: 20px;
        color: #fff;
    }
    nav {
        a {
            display: block;
            height: 50px;
            line-height: 50px;
            background-color: #eeeeee;
            color: #4a6887;
            padding-left: 30px;
            &::before {
                vertical-align: middle;
            }
        }
    }
}
// 新闻栏
.col-md-7 {
    // 新闻0
    .news {
        padding-left: 0;
        li {
            padding-right: 10px;
            padding-bottom: 10px;
            float: left;
            width: 25%;
            height: 138px;
            &:nth-of-type(1) {
                width: 50%;
                height: 276px;
                a {
                    p {
                        font-size: 20px;
                        padding: 0 10px;
                    }
                }
            }
            a {
                display: block;
                position: relative;
                width: 100%;
                height: 100%;
                img {
                    width: 100%;
                    height: 100%;
                }
                p {
                    position: absolute;
                    bottom: 0;
                    left: 0;
                    width: 100%;
                    height: 41px;
                    line-height: 41px;
                    background-color: rgba(0, 0, 0, 0.4);
                    color: #fff;
                    font-size: 12px;
                    padding: 0 5px;
                }
            }
        }
    }
    
}
